package com.itboyst.face;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan({"com.itboyst.face.dao.mapper","com.itboyst.face.mapper"})
@EnableTransactionManagement
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.itboyst.face.feign")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

